#ifndef CF_NEWWORKSPACEDIALOG_H
#define CF_NEWWORKSPACEDIALOG_H

#include <QDialog>
#include "ui_CF_NewWorkspaceDialog.h"

class CF_NewWorkspaceDialog : public QDialog
{
	Q_OBJECT

public:
	CF_NewWorkspaceDialog(QWidget *parent = 0);
	~CF_NewWorkspaceDialog();

	QString getName() { return ui.nameEdit->text(); }
	QString getLocation() { return ui.locationEdit->text() + "/" + getName(); }

protected Q_SLOTS:
    void ok();
    void cancel();
	void locationButtonClicked();

private:
	Ui::CF_NewWorkspaceDialog ui;
};

#endif // CF_NewWorkspaceDialog_H
